package com.swlz.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;
/**
 * <pre>
 * 实体类
 * 系统操作日志
 * TableName : SYS_LOG
 * ClassName : com.swlz.entity.Log
 * Author : swlz
 * E-Mail : 2233875735@qq.com
 * Date : 2020-06-14 08:10:21
 * Version : 1.0
 * Copyright 2020 swlz.top Inc. All rights reserved. 
 * Warning: this content is only for internal circulation of the company. It is forbidden to divulge it or use it for other commercial purposes
 * </pre>
 **/
@Name("SYS_LOG")
public class Log  {


	/**
	 * <pre>日志编号 - LOG_ID</pre>
	 **/
	@Id
	private Long logId;
	/**
	 * <pre>日志级别 - LOG_LEVEL</pre>
	 **/
	private Integer logLevel;
	/**
	 * <pre>日志内容 - LOG_CONTENT</pre>
	 **/
	private String logContent;
	/**
	 * <pre>日志发生用户 - LOG_USER</pre>
	 **/
	private Long logUser;
	/**
	 * <pre>日志时间 - LOG_TIME</pre>
	 **/
	@JSONField(format="yyyy-MM-dd HH:mm")
	private java.util.Date logTime;
	/**
	 * <pre>日志异常栈信息 - LOG_EXCEPTION</pre>
	 **/
	private String logException;


	/**
	 * <pre>获取日志编号</pre>
	 **/
	public Long getLogId() {
        return logId;
    }

	/**
	 * <pre>设置日志编号</pre>
	 **/
    public void setLogId(Long logId) {
        this.logId = logId;
    }

	/**
	 * <pre>获取日志级别</pre>
	 **/
	public Integer getLogLevel() {
        return logLevel;
    }

	/**
	 * <pre>设置日志级别</pre>
	 **/
    public void setLogLevel(Integer logLevel) {
        this.logLevel = logLevel;
    }

	/**
	 * <pre>获取日志内容</pre>
	 **/
	public String getLogContent() {
        return logContent;
    }

	/**
	 * <pre>设置日志内容</pre>
	 **/
    public void setLogContent(String logContent) {
        this.logContent = logContent;
    }

	/**
	 * <pre>获取日志发生用户</pre>
	 **/
	public Long getLogUser() {
        return logUser;
    }

	/**
	 * <pre>设置日志发生用户</pre>
	 **/
    public void setLogUser(Long logUser) {
        this.logUser = logUser;
    }

	/**
	 * <pre>获取日志时间</pre>
	 **/
	public java.util.Date getLogTime() {
        return logTime;
    }

	/**
	 * <pre>设置日志时间</pre>
	 **/
    public void setLogTime(java.util.Date logTime) {
        this.logTime = logTime;
    }

	/**
	 * <pre>获取日志异常栈信息</pre>
	 **/
	public String getLogException() {
        return logException;
    }

	/**
	 * <pre>设置日志异常栈信息</pre>
	 **/
    public void setLogException(String logException) {
        this.logException = logException;
    }

    @Override
    public String toString() {
    	StringBuffer str = new StringBuffer(super.toString());
    	str.append(" [");
    	str.append("logId=");
    	str.append(logId);
    	str.append(", ");
    	str.append("logLevel=");
    	str.append(logLevel);
    	str.append(", ");
    	str.append("logContent=");
    	str.append(logContent);
    	str.append(", ");
    	str.append("logUser=");
    	str.append(logUser);
    	str.append(", ");
    	str.append("logTime=");
    	str.append(logTime);
    	str.append(", ");
    	str.append("logException=");
    	str.append(logException);
    	str.append(", ");
    	str.append("]");
    	return str.toString();
    }
}